package com.cfpl.admin_service.service;

import com.cfpl.project_common.pojo.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 14720
* @description 针对表【permission(权限表)】的数据库操作Service
* @createDate 2023-10-11 11:16:50
*/
public interface PermissionService extends IService<Permission> {

    /**
     * 添加权限
     */
    void insertPermission(Permission permission);

    /**
     * 修改权限
     */
    void updatePermissionInfo(Permission permission);

    /**
     * 批量删除权限
     * @param permissionIds 权限编号
     */
    void removePermissionsById(List<Long> permissionIds);


}
